package org.example.springbootmodule.service.Impl;

import org.example.springbootmodule.entity.User;
import org.example.springbootmodule.mapper.UserMapper;
import org.example.springbootmodule.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    public UserMapper userMapper;

    @Override
    public List<User> getUsers() {
        return userMapper.getUsers();
    }
}
